package com.youtui.common.util;

import com.youtui.common.constant.ResultMessage;

public class ResultUtil {


	public static int code_success = 0;
	public static int code_fail = -1;

	
	
	public static ResultMessage result(int code, String message) {
		return new ResultMessage(code, message);
	}

	public static ResultMessage result(int code, String message, Object data) {
		return new ResultMessage(code, message, data);
	}
}
